package com.rk.admin.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rk.admin.domain.ApiCount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import javax.xml.crypto.Data;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface ApiMapper extends BaseMapper<ApiCount> {

    public List<ApiCount> findlist(Integer num);

    public int updatelist(@Param("num")Integer num,@Param("time") Date time);

    public int finddata(Date daydata);

    public int savelist(Integer counts);

    public int findcount(Date time);

}
